$(function(){
    showCondition(true);
    
	
	
	getQuotas("ybbMdc", loadData, "mdcallhosp-ul");
	
	function loadData(totalQuota){
		// 全院指标 (1.Hosp 2.All)  参数 4.为jsp中的div的id 5.jsp中ul的id
		loadHospQuota("Hosp",totalQuota,"mdcallhospQuotasId","mdcallhosp-ul","ybMdcTotal");
		// 加载指标的div 参数 3.为jsp中的div的id 4.jsp中ul的id
		loadDRGsQuota(totalQuota,"mdc","MDC","mdcQuotasId","mdc-ul");
	    // 科室组指标的数据加载 
	    loadDRGsQuotaData(totalQuota,"mdc",false,"ybMdcDetail");
	}
});


